Release 10.1A: OpenEdge Development:
Progress 4GL Handbook


QUERY-CLOSE method

There’s a dynamic method to close a query as well:

hQuery:QUERY-CLOSE(). 

QUERY-CLOSE returns true if the operation succeeded and false otherwise. As with the CLOSE QUERY statement, you don’t need to use QUERY-CLOSE if you are immediately again preparing and reopening a query, but you should close a query when you are done using it. You can freely mix and match static OPEN and CLOSE statements and QUERY-OPEN and QUERY-CLOSE methods for static queries but, as with all the query syntax, you can use the static statements only for static queries.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095